package com.gt.web.srv.mapstructs;

import com.gt.web.srv.domain.SsActivity;
import com.gt.web.srv.web.api.command.SsActivityCommand;
import com.gt.web.srv.web.api.resource.ss.SsActivityResource;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author jh
 * @Date 2024/5/18 16:01
 * @PackageName:com.gt.web.srv.converter
 * @ClassName: AdvertisementConverter
 * @Description: TODO
 */
@Mapper
public interface SsActivityStruct {

    SsActivityStruct INSTANCE = Mappers.getMapper(SsActivityStruct.class);


    SsActivity simple(SsActivityCommand goods);

    List<SsActivityResource> simpleList(List<SsActivity> repairApplications);


    SsActivityResource simple(SsActivity repairApplication);
}
